﻿namespace PLCSharp.IEC61131_3
{
    public struct LINT
    {
        private long value;

        public static implicit operator long(LINT i)
        {
            return i.value;
        }

        public static implicit operator LINT(long s)
        {
            LINT i = new()
            {
                value = s
            };
            return i;
        }
    }
}